package xyz.sunne.entity;

import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotBlank;

/**
 * @author Sunne
 * @version 1.0
 * @date 2021/9/24 0024
 */
@Data
public class User extends BaseEntity {
    //昵称
    private String nickName;
    //头像地址
    private String header;
    //账号
    private String account;
    //密码
    @NotBlank(message = "密码不能为空")
    private String passwd;
    //uidp
    private String uid;
}
